package com.oocl.admin_platform.db.factory;

import java.sql.Connection;

import com.oocl.admin_platform.util.DBUtil;

/*
 * when in test  use the createConnectionWithDataSource without the tomcat
 * */
public class DBConnectionFactory {
	private static Connection connection;
	
	public static Connection getInstance(){
			return DBUtil.createConnectionWithTomcat();
		
			//return DBUtil.createConnectionWithCommon();
	}
	
	
	
}
